public class ArraySquareReverse {//20175131// 
 public static void main(String [] args) {
          for(int i = args.length;i>0;i--){
                int  m =Integer.parseInt(args[i-1]);
                  System.out.print(m*m+" ");
          }
          System.out.print('\n');
      }
  }
